
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>Content box</h3>
					
					<ul class="content-box-tabs">
						<li><a href="#tab1" class="default-tab">Sửa Hình Thư Viện</a></li> <!-- href must be unique and match the id of target div -->
					</ul>
					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab" id="tab1">
					
						<form action="<?php echo $this->url(array("action"=>"editlibp"))?>" method="post" enctype="multipart/form-data">
							<?php $lib = $this->lib?>
							<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								
								<p>
									<label><?php echo NameOPPL?></label>
										<select name="OLibPhoto" size="10" multiple="multiple">
										<?php foreach ($this->allLib as $libs):?>
											<option value="<?php echo $libs["ID"]?>"<?php if ($libs["ID"] == $lib["OBJECT_LIB_PHOTO_ID"]):?>selected="selected" <?php endif;?>><?php echo $libs["NAME"]?></option>
										<?php endforeach;?>
										</select>
										<br /><small>A small description of the field</small>
								</p>
								
								<p>
									<label><?php echo Desc?></label>
										<input class="text-input small-input" type="text" id="small-input" name="Desc" value="<?php echo $lib["SHORT_DESCRIPTION"];?>" />
										<br /><small>A small description of the field</small>
								</p>
								
								<p>
									<label><?php echo Content?></label>
									<textarea class="text-input textarea wysiwyg" id="textarea" name="Content" cols="79" rows="15"><?php echo $lib["LONG_DESCRIPTION"]?></textarea>
									<br /><small>A small description of the field</small>
								</p>
								
								<p>
									<label><?php echo Images?></label>
										<input class="text-input small-input" type="file" id="small-input" name="Img" />
										<br /><small>A small description of the field</small>
								</p>
								
								<p>
									<label>Link Ảnh</label>
										<input class="text-input small-input" type="text" id="small-input" name="Link" value="<?php echo $lib["IMG"]?>" />
								</p>

								<p>
									<label><?php echo Status?></label>              
									<select name="Stt" class="small-input">
									<?php if ($lib["STATUS"] == 1):?>
										<option value="1" selected="selected">Kích Hoạt</option>
										<option value="0">Không Kích Hoạt</option>
									<?php else:?>
										<option value="1">Kích Hoạt</option>
										<option value="0" selected="selected">Không Kích Hoạt</option>
									<?php endif;?>
									</select> 
								</p>
								
								<p>
									<input class="button" type="submit" value="Submit" />
								</p>
								
							</fieldset>
							
							<div class="clear"></div><!-- End .clear -->
							
						</form>
						
					</div> <!-- End #tab2 -->        
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->

			<div class="clear"></div>